import request from "@/utils/axios";

export const loginAPi = (data) => {
  return request.post("/auth/login", data);
};

export const getUser = () => {
  return request.get("/auth/currentUser");
};

// 获取折线图使用数据
export const getLineData = () => {
  return request.get("/analysis/DailyVisitTrend");
};
